<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>RKNPU DDK: Operator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RKNPU DDK
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacerk.html">rk</a></li><li class="navelem"><a class="el" href="namespacerk_1_1nn.html">nn</a></li><li class="navelem"><a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Operator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="operator_8h_source.html">operator.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afc00cbabb756bebd37fe04a3e3c8c6b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#afc00cbabb756bebd37fe04a3e3c8c6b3">Operator</a> ()=default</td></tr>
<tr class="separator:afc00cbabb756bebd37fe04a3e3c8c6b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42006baeb5b91ebc3ab835822a4f7a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#af42006baeb5b91ebc3ab835822a4f7a1">~Operator</a> ()=default</td></tr>
<tr class="separator:af42006baeb5b91ebc3ab835822a4f7a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db27e0d33f920a549bd07518a972551"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; std::shared_ptr&lt; <a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#a2db27e0d33f920a549bd07518a972551">GetInputs</a> ()=0</td></tr>
<tr class="separator:a2db27e0d33f920a549bd07518a972551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07506732729cb275237a8b5b26986a4a"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; std::shared_ptr&lt; <a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#a07506732729cb275237a8b5b26986a4a">GetOutputs</a> ()=0</td></tr>
<tr class="separator:a07506732729cb275237a8b5b26986a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4fab3064d93098e23c045f08cfebc5"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#a0a4fab3064d93098e23c045f08cfebc5">GetAttrs</a> ()=0</td></tr>
<tr class="separator:a0a4fab3064d93098e23c045f08cfebc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad070fff7591d0c70a4b95b51a939f5b"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_operator.html#aad070fff7591d0c70a4b95b51a939f5b">GetName</a> ()=0</td></tr>
<tr class="separator:aad070fff7591d0c70a4b95b51a939f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> is used to get the basic imformation. and the <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> is returned by <a class="el" href="classrk_1_1nn_1_1_graph.html#ab750822d7f142a9530d105d6b63ed9e6">Graph::AddOperator</a>, don't create it directly. </p>

<p>Definition at line <a class="el" href="operator_8h_source.html#l00311">311</a> of file <a class="el" href="operator_8h_source.html">operator.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afc00cbabb756bebd37fe04a3e3c8c6b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af42006baeb5b91ebc3ab835822a4f7a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0a4fab3064d93098e23c045f08cfebc5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* GetAttrs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the attribute of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the pointer of attribute </dd></dl>

</div>
</div>
<a class="anchor" id="a2db27e0d33f920a549bd07518a972551"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::vector&lt;std::shared_ptr&lt;<a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a>&gt; &gt; GetInputs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the input tensor of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the input tensor of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aad070fff7591d0c70a4b95b51a939f5b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string GetName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the name of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the string of name </dd></dl>

</div>
</div>
<a class="anchor" id="a07506732729cb275237a8b5b26986a4a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::vector&lt;std::shared_ptr&lt;<a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a>&gt; &gt; GetOutputs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the output tensor of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>the output tensor of <a class="el" href="classrk_1_1nn_1_1_operator.html">Operator</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="operator_8h_source.html">operator.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
